<div id='central_component_title'><%= render :partial => "central_component_title", :locals =>{:context_elements => @context_elements} %>
</div>
<%= link_to 'New artifact', new_artifact_path %>
<ul id='artifacts' style='border:1px solid #E80000;min-height:20px;' onclick="add_selected_to_location()">
<%= render :partial => "list", :locals =>{:artifacts => @artifacts,:context_present => @context_present} %>
</ul>

<div id='artifacts_spinner' style='display:none; float:right;'>loading ...</div>

<%= drop_receiving_element('artifacts',
		:accept => 'list_item',
		:complete => "$('artifacts_spinner').hide();" ,
		:before => "$('artifacts_spinner').show();" ,
		:hoverclass => 'hover',
		:with => "'list_item=' + encodeURIComponent(element.id.split('_').last())" ,
		:url => {:controller=>'artifacts', :action=>:add_relations})%>
